<div th:fragment="tip">
    <link rel="stylesheet" th:href="@{/css/tip.css}" />
    <script type="text/javascript" th:src="@{/js/layer/tip.js}"></script>
</div>